package com.cn.zsc.xademo;

import com.cn.zsc.App;
import com.cn.zsc.service.AccountService;
import com.cn.zsc.service.XaService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = App.class)
public class XaDemoApp {

    @Autowired
    XaService xaService;

    @Autowired
    AccountService accountService;

    @Test
    public void testXa(){
        xaService.testXA();
    }

    @Test
    public void testAccount(){
        accountService.transferAccount();
    }


}
